from playbutton_layout import playbutton_layout
from playprogressbar_layout import playprogressbar_layout

from kivy.uix.floatlayout import FloatLayout

class play_layout( FloatLayout ):
    def __init__( self, **kwargs ):
        super( play_layout, self ).__init__( **kwargs )
        
        playbutton = playbutton_layout( pos_hint = { 'x' : 0.0, 'y' : 0.0 }, 
            size_hint = ( 1.0, 0.3 ) )
        playprogressbar = playprogressbar_layout( pos_hint = { 'x' : 0.0, 'y' : 0.3 }, 
            size_hint = ( 1.0, 0.7 ) )
                
        self.add_widget( playprogressbar )
        self.add_widget( playbutton )

if __name__ == '__main__':
    from kivy.app import App
    class testApp( App ):
        def build( self ):
            return play_layout()
    testApp().run()
        